package com.woquyin.common;

public class GrobalRunTimeException extends RuntimeException {
	
	private static final long serialVersionUID = 1L;
	Integer code;
	
	public GrobalRunTimeException(Integer code){
		this.code = code;
	}
	
	public GrobalRunTimeException(Integer code,String message){
		super(message);
		this.code=code;
	}
	
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
}
